Meaning of the word "when house and land are gone and spent, then learning is most excellent" in English

What does "when house and land are gone and spent, then learning is most excellent" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

when house and land are gone and spent, then learning is most excellent

US /wɛn haʊs ænd lænd ɑr ɡɔn ænd spɛnt, ðɛn ˈlɜrnɪŋ ɪz moʊst ˈɛksələnt/
UK /wɛn haʊs ænd lænd ɑː ɡɒn ænd spɛnt, ðɛn ˈlɜːnɪŋ ɪz məʊst ˈɛksələnt/
"when house and land are gone and spent, then learning is most excellent" picture

Idiom

a proverb suggesting that education and knowledge are more valuable and permanent than material wealth or property

Example:
My grandfather always told me, 'when house and land are gone and spent, then learning is most excellent,' to encourage me to study hard.
Even if you lose everything, remember that when house and land are gone and spent, then learning is most excellent.